<?php

namespace ORM\Dynasties2;

use Doctrine\ORM\Mapping as ORM;

/**
 * ORM\Dynasties2\Armyforces
 */
class Armyforces
{
    /**
     * @var integer $id
     */
    private $id;

    /**
     * @var integer $armyNumber
     */
    private $armyNumber;

    /**
     * @var integer $controlledBy
     */
    private $controlledBy;

    /**
     * @var integer $location
     */
    private $location;

    /**
     * @var integer $highestLeadership
     */
    private $highestLeadership;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set armyNumber
     *
     * @param integer $armyNumber
     * @return Armyforces
     */
    public function setArmyNumber($armyNumber)
    {
        $this->armyNumber = $armyNumber;
        return $this;
    }

    /**
     * Get armyNumber
     *
     * @return integer 
     */
    public function getArmyNumber()
    {
        return $this->armyNumber;
    }

    /**
     * Set controlledBy
     *
     * @param integer $controlledBy
     * @return Armyforces
     */
    public function setControlledBy($controlledBy)
    {
        $this->controlledBy = $controlledBy;
        return $this;
    }

    /**
     * Get controlledBy
     *
     * @return integer 
     */
    public function getControlledBy()
    {
        return $this->controlledBy;
    }

    /**
     * Set location
     *
     * @param integer $location
     * @return Armyforces
     */
    public function setLocation($location)
    {
        $this->location = $location;
        return $this;
    }

    /**
     * Get location
     *
     * @return integer 
     */
    public function getLocation()
    {
        return $this->location;
    }

    /**
     * Set highestLeadership
     *
     * @param integer $highestLeadership
     * @return Armyforces
     */
    public function setHighestLeadership($highestLeadership)
    {
        $this->highestLeadership = $highestLeadership;
        return $this;
    }

    /**
     * Get highestLeadership
     *
     * @return integer 
     */
    public function getHighestLeadership()
    {
        return $this->highestLeadership;
    }
    /**
     * @var smallint $soldiers
     */
    private $soldiers;

    /**
     * @var integer $soldiersFrom
     */
    private $soldiersFrom;

    /**
     * @var integer $attachedNoble
     */
    private $attachedNoble;

    /**
     * @var smallint $leadership
     */
    private $leadership;

    /**
     * @var ORM\Dynasties2\Armies
     */
    private $armyLink;


    /**
     * Set soldiers
     *
     * @param smallint $soldiers
     * @return Armyforces
     */
    public function setSoldiers($soldiers)
    {
        $this->soldiers = $soldiers;
        return $this;
    }

    /**
     * Get soldiers
     *
     * @return smallint 
     */
    public function getSoldiers()
    {
        return $this->soldiers;
    }

    /**
     * Set soldiersFrom
     *
     * @param integer $soldiersFrom
     * @return Armyforces
     */
    public function setSoldiersFrom($soldiersFrom)
    {
        $this->soldiersFrom = $soldiersFrom;
        return $this;
    }

    /**
     * Get soldiersFrom
     *
     * @return integer 
     */
    public function getSoldiersFrom()
    {
        return $this->soldiersFrom;
    }

    /**
     * Set attachedNoble
     *
     * @param integer $attachedNoble
     * @return Armyforces
     */
    public function setAttachedNoble($attachedNoble)
    {
        $this->attachedNoble = $attachedNoble;
        return $this;
    }

    /**
     * Get attachedNoble
     *
     * @return integer 
     */
    public function getAttachedNoble()
    {
        return $this->attachedNoble;
    }

    /**
     * Set leadership
     *
     * @param smallint $leadership
     * @return Armyforces
     */
    public function setLeadership($leadership)
    {
        $this->leadership = $leadership;
        return $this;
    }

    /**
     * Get leadership
     *
     * @return smallint 
     */
    public function getLeadership()
    {
        return $this->leadership;
    }

    /**
     * Set armyLink
     *
     * @param ORM\Dynasties2\Armies $armyLink
     * @return Armyforces
     */
    public function setArmyLink(\ORM\Dynasties2\Armies $armyLink = null)
    {
        $this->armyLink = $armyLink;
        return $this;
    }

    /**
     * Get armyLink
     *
     * @return ORM\Dynasties2\Armies 
     */
    public function getArmyLink()
    {
        return $this->armyLink;
    }
}